export interface IPermission {
	create_date: number;
	comment: string;
	permission_id: string;
	permission_name: string;
	_id: string;
}

export type EditPermissionParams = Omit<IPermission, 'create_date' | '_id'>;
export type AddPermissionParams = EditPermissionParams;
export type UpdatePermissionParams = EditPermissionParams & { _id: string };
export type GetPermissionParams = {
	page: number;
	pageSize: number;
	permission_id?: string;
	permission_name?: string;
};
